 <#setting time_zone="${timeZone}" >
<link href="${rc.getContextPath()}/manage/css/dwzCustomCss/dwz.custom.css?v=${ver}" rel="stylesheet" type="text/css">
<form method="post" action="${rc.getContextPath()}/manage/org/saveOrg" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
    <div class="pageContent" style="padding-left: 10px">
    
            <input type="hidden" name="navTabId" value="${navTabId!''}"> <input type="hidden" name="id" value="<#if (org.organizationCode)??>${org.organizationCode!''}</#if>">
            <input type="hidden" id="user" name="user" value="${user!''}"> 
            <div class="tabs" currentIndex="0" eventType="click" style="width: 100%">
                <div class="tabsHeader">
                    <div class="tabsHeaderContent">
                        <ul>
                            <li><a href="javascript:;"><span><@label key="detail.C">详情</@label></span> </a></li>
                            <li><a href="javascript:;"><span><@label key="user.C">用户</@label></span> </a></li>
                        </ul>
                    </div>
                </div>
                <div class="tabsContent"  style="padding: 0;" layoutH="310">
                    <div>
                        <div class="pageFormContent">
                        <fieldset>
                            <dl class="nowrap">
                                <dt><@label key="organizationCode.C,colon">组织编号：</@label></dt>
                                <dd>
                                    <input name="organizationCode" value="<#if (org.organizationCode)??>${org.organizationCode!''}</#if>" size="32" type="text" maxlength="40" class="required"<#if
                                    (org.organizationCode)??> readonly="readonly"<#else> remote="${rc.getContextPath()}/manage/org/validateOrgCode"</#if>/> <span for="organizationCode" title="组织编号已经存在" generated="false"
                                        class="error" style="display: none"></span>
                                </dd>
                            </dl>
                            <dl class="nowrap">
                                <dt><@label key="organizationText.C,colon">组织描述：</@label></dt>
                                <dd>
                                    <input readonly="readonly" organizationText" value="<#if (org.organizationText)??>${org.organizationText!''}</#if>" size="64" type="text" maxlength="60" class="required" />
                                </dd>
                            </dl>
                            <dl class="nowrap">
                                <dt><@label key="parentOrganizationCode.C,colon">上级组织：</@label></dt>
                                <dd>
                                    <input readonly="readonly" name="parentOrganizationCode" value="<#if (org.parentOrganizationCode)??>${org.parentOrganizationCode!''}</#if>" size="32" type="text" maxlength="255" /> <input
                                        readonly="readonly" style="margin-left: 10px;" name="parentOrganizationText" value="<#if (org.parentOrganizationText)??>${org.parentOrganizationText!''}</#if>" size="32" type="text"
                                        maxlength="255" />
                                </dd>
                            </dl>
                            <dl class="nowrap">
                                <dt>&nbsp;</dt>
                                <dd>
                                    <label style="text-align: left;"><input disabled type="checkbox" name="lockFlag" value="1"<#if (org.lockFlag)?? && (org.lockFlag == 1)> checked="true"</#if>><@label key="lock.C">锁定</@label></label>
                                </dd>
                            </dl>
                        </fieldset>
                        </div>
        <#if (org.organizationCode)??> 
                 <#assign createInfo=org/>
                 <#include "/common/createInfo.html">
                </#if>
                    </div>
                    <div>
                        <div class="pageFormContent">
                            <table class="table border" width="100%" layoutH="360">
                                <thead>
                                    <tr>
                                        
                                        <th width="100"><@label key="userCode.C">用户编号</@label></th>
                                        <th width="100"><@label key="userText.C">用户名称</@label></th>
                                    </tr>
                                </thead>
                                <tbody id="usertbody">
                                    <#if users??><#if (users?size>0)> <#list users as user>
                                    <tr id="user_${user.userCode!''}" target="user_code" rel="${user.userCode!''}">
                                        <td width="100">${user.userCode!''}</td>
                                        <td width="100">${user.userText!''}</td>
                                    </tr>
                                    </#list> </#if> </#if>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
                    <div class="tabsFooter" >
                                <div class="tabsFooterContent" ></div>
                                </div>
                            </div>
        

        </div>
                
    </div>
        
</form>